package cn.wolfcode.wms.mapper;

import cn.wolfcode.wms.domain.Department;
import cn.wolfcode.wms.domain.Systemmenu;
import cn.wolfcode.wms.qo.MenuQueryObject;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;
import java.util.Map;

public interface SystemmenuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Systemmenu record);

    Systemmenu selectByPrimaryKey(Long id);

    List<Systemmenu> selectAll(MenuQueryObject qo);

    int updateByPrimaryKey(Systemmenu record);

    Systemmenu selectByParentId(Long parentId);

    void deleteByParentId(Long id);

    Systemmenu selectParentMenuByParentId(Long parentId);

    List<Systemmenu> queryAll();

    List<Map<String,Object>> getMenusBySn(String sn);


    //菜单里面用不到分页

}